[INFO] fetching crate pallet-beefy 21.0.0...
[INFO] checking pallet-beefy-21.0.0 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate pallet-beefy 21.0.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate pallet-beefy 21.0.0 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pallet-beefy 21.0.0
[INFO] finished tweaking crates.io crate pallet-beefy 21.0.0
[INFO] tweaked toml for crates.io crate pallet-beefy 21.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b2c993703e2b583189c4233b43f5058d36681e6b4f070411268dae764497e8b
[INFO] running `Command { std: "docker" "start" "-a" "3b2c993703e2b583189c4233b43f5058d36681e6b4f070411268dae764497e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b2c993703e2b583189c4233b43f5058d36681e6b4f070411268dae764497e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b2c993703e2b583189c4233b43f5058d36681e6b4f070411268dae764497e8b", kill_on_drop: false }`
[INFO] [stdout] 3b2c993703e2b583189c4233b43f5058d36681e6b4f070411268dae764497e8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 660f39e4bc74beba034160a722cd1e4a559c7c45a961252eaffa621df8f230b3
[INFO] running `Command { std: "docker" "start" "-a" "660f39e4bc74beba034160a722cd1e4a559c7c45a961252eaffa621df8f230b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking zeroize v1.6.0
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]     Checking const-oid v0.9.2
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling target-lexicon v0.12.8
[INFO] [stderr]     Checking url v2.4.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]     Checking cranelift-entity v0.93.2
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]     Checking sp-std v7.0.0
[INFO] [stderr]     Checking gimli v0.26.2
[INFO] [stderr]    Compiling rustix v0.36.14
[INFO] [stderr]     Checking wasmparser v0.100.0
[INFO] [stderr]     Checking object v0.29.0
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling wasmtime-runtime v6.0.2
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling libm v0.2.7
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling cpp_demangle v0.3.5
[INFO] [stderr]    Compiling libsecp256k1-core v0.3.0
[INFO] [stderr]     Checking memfd v0.6.3
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking wasmtime-jit-debug v6.0.2
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]     Checking wasmtime-asm-macros v6.0.2
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking impl-serde v0.4.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]     Checking wasmtime-jit-icache-coherence v6.0.2
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]     Checking memory_units v0.4.0
[INFO] [stderr]     Checking parity-wasm v0.45.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]    Compiling wasmtime v6.0.2
[INFO] [stderr]     Checking wasmi_core v0.2.1
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking wasmtime-types v6.0.2
[INFO] [stderr]     Checking wasmtime-environ v6.0.2
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.3.0
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.3.0
[INFO] [stderr]     Checking tracing-log v0.1.3
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking wasmi-validation v0.5.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]    Compiling secp256k1-sys v0.6.1
[INFO] [stderr]     Checking hash-db v0.16.0
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking wasmi v0.13.2
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling libsecp256k1 v0.7.1
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking fixed-hash v0.8.0
[INFO] [stderr]     Checking curve25519-dalek v2.1.3
[INFO] [stderr]    Compiling ss58-registry v1.40.0
[INFO] [stderr]     Checking merlin v2.0.1
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking wasmtime-jit v6.0.2
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]     Checking constant_time_eq v0.2.6
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.6.1
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling scale-info-derive v2.8.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling sp-debug-derive v7.0.0
[INFO] [stderr]     Checking blake2b_simd v1.0.1
[INFO] [stderr]    Compiling dyn-clonable-impl v0.9.0
[INFO] [stderr]    Compiling sp-runtime-interface-proc-macro v10.0.0
[INFO] [stderr]     Checking schnorrkel v0.9.1
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking parking_lot_core v0.9.8
[INFO] [stderr]     Checking pbkdf2 v0.8.0
[INFO] [stderr]     Checking hmac v0.11.0
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]     Checking dyn-clonable v0.9.0
[INFO] [stderr]     Checking tiny-bip39 v1.0.0
[INFO] [stderr]     Checking sp-core-hashing v8.0.0
[INFO] [stderr]     Checking substrate-bip39 v0.4.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking secp256k1 v0.24.3
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking ed25519-zebra v3.1.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking secrecy v0.8.0
[INFO] [stderr]     Checking array-bytes v4.2.0
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking backtrace v0.3.67
[INFO] [stderr]     Checking trie-root v0.18.0
[INFO] [stderr]     Checking memory-db v0.32.0
[INFO] [stderr]     Checking nohash-hasher v0.2.0
[INFO] [stderr]     Checking ed25519 v1.5.3
[INFO] [stderr]     Checking sp-panic-handler v7.0.0
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]     Checking integer-sqrt v0.1.5
[INFO] [stderr]    Compiling cpufeatures v0.2.8
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling keccak v0.1.4
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling sp-io v22.0.0
[INFO] [stderr]     Checking schnellru v0.2.1
[INFO] [stderr]     Checking trie-db v0.27.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling expander v1.0.0
[INFO] [stderr]    Compiling fs-err v2.9.0
[INFO] [stderr]     Checking der v0.7.6
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]    Compiling sp-api-proc-macro v7.0.0
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling sp-core-hashing-proc-macro v8.0.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking sec1 v0.7.2
[INFO] [stderr]     Checking parity-scale-codec v3.6.1
[INFO] [stderr]     Checking crypto-bigint v0.5.2
[INFO] [stderr]     Checking spki v0.7.2
[INFO] [stderr]    Compiling frame-support-procedural-tools-derive v5.0.0
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]    Compiling sp-version-proc-macro v7.0.0
[INFO] [stderr]     Checking signature v2.1.0
[INFO] [stderr]     Checking scale-info v2.8.0
[INFO] [stderr]     Checking sp-storage v12.0.0
[INFO] [stderr]     Checking impl-codec v0.6.0
[INFO] [stderr]     Checking sp-tracing v9.0.0
[INFO] [stderr]     Checking sp-wasm-interface v13.0.0
[INFO] [stderr]     Checking sp-externalities v0.18.0
[INFO] [stderr]     Checking elliptic-curve v0.13.5
[INFO] [stderr]    Compiling cfg-expr v0.10.3
[INFO] [stderr]    Compiling frame-support-procedural-tools v5.0.0
[INFO] [stderr]    Compiling derive-syn-parse v0.1.5
[INFO] [stderr]     Checking ecdsa v0.16.7
[INFO] [stderr]     Checking primitive-types v0.12.1
[INFO] [stderr]     Checking bounded-collections v0.1.8
[INFO] [stderr]     Checking sp-arithmetic v15.0.0
[INFO] [stderr]    Compiling proc-macro-warning v0.2.0
[INFO] [stderr]     Checking k256 v0.13.1
[INFO] [stderr]     Checking frame-metadata v15.1.0
[INFO] [stderr]     Checking tt-call v1.0.9
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]     Checking ckb-merkle-mountain-range v0.5.2
[INFO] [stderr]    Compiling frame-election-provider-solution-type v7.0.0
[INFO] [stderr]    Compiling frame-support-procedural v16.0.0
[INFO] [stderr]    Compiling pallet-staking-reward-curve v5.0.0
[INFO] [stderr]     Checking sp-runtime-interface v16.0.0
[INFO] [stderr]     Checking sp-core v20.0.0
[INFO] [stderr]     Checking sp-trie v21.0.0
[INFO] [stderr]     Checking sp-keystore v0.26.0
[INFO] [stderr]     Checking sp-weights v19.0.0
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking sp-state-machine v0.27.0
[INFO] [stderr]     Checking sp-application-crypto v22.0.0
[INFO] [stderr]     Checking sp-runtime v23.0.0
[INFO] [stderr]     Checking sp-version v21.0.0
[INFO] [stderr]     Checking sp-inherents v19.0.0
[INFO] [stderr]     Checking sp-staking v19.0.0
[INFO] [stderr]     Checking sp-npos-elections v19.0.0
[INFO] [stderr]     Checking sp-api v19.0.0
[INFO] [stderr]     Checking sp-session v20.0.0
[INFO] [stderr]     Checking sp-mmr-primitives v19.0.0
[INFO] [stderr]     Checking sp-consensus-beefy v6.0.0
[INFO] [stderr]     Checking frame-support v21.0.0
[INFO] [stderr]     Checking sp-timestamp v19.0.0
[INFO] [stderr]     Checking frame-system v21.0.0
[INFO] [stderr]     Checking pallet-timestamp v20.0.0
[INFO] [stderr]     Checking pallet-authorship v21.0.0
[INFO] [stderr]     Checking pallet-balances v21.0.0
[INFO] [stderr]     Checking frame-election-provider-support v21.0.0
[INFO] [stderr]     Checking pallet-session v21.0.0
[INFO] [stderr]     Checking pallet-offences v20.0.0
[INFO] [stderr]     Checking pallet-beefy v21.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `pallet_session::historical`
[INFO] [stdout]   --> src/mock.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use pallet_session::historical as pallet_session_historical;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `historical` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `pallet_session_historical::tt_default_parts`
[INFO] [stdout]   --> src/mock.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | / construct_runtime!(
[INFO] [stdout] 58 | |     pub enum Test where
[INFO] [stdout] 59 | |         Block = Block,
[INFO] [stdout] 60 | |         NodeBlock = Block,
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |     }
[INFO] [stdout] 73 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout]    = note: this error originates in the macro `frame_support::tt_call` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:138:40
[INFO] [stdout]     |
[INFO] [stdout] 138 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                           ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:144:22
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                      ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `historical` in `pallet_session`
[INFO] [stdout]    --> src/mock.rs:238:45
[INFO] [stdout]     |
[INFO] [stdout] 238 |     type IdentificationTuple = pallet_session::historical::IdentificationTuple<Self>;
[INFO] [stdout]     |                                                ^^^^^^^^^^ could not find `historical` in `pallet_session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:290:40
[INFO] [stdout]     |
[INFO] [stdout] 290 |             (i as u64, i as u64 + 1000, 10_000, pallet_staking::StakerStatus::<u64>::Validator)
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:297:14
[INFO] [stdout]     |
[INFO] [stdout] 297 |         force_era: pallet_staking::Forcing::ForceNew,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |         pub dummy: pallet_beefy::Pallet<Test>,
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |         pub dummy: pallet_beefy::Pallet<Test>,
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-23.0.0/src/traits.rs:1649:19
[INFO] [stdout]    |
[INFO] [stdout] 164|         pub struct $name<Test> {
[INFO] [stdout]    |                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |         pub dummy: pallet_beefy::Pallet<Test>,
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-23.0.0/src/traits.rs:1645:25
[INFO] [stdout]    |
[INFO] [stdout] 164|             $crate::codec::Decode<Test>,
[INFO] [stdout]    |                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:50:35
[INFO] [stdout]    |
[INFO] [stdout] 50 |         pub dummy: pallet_beefy::Pallet<Test>,
[INFO] [stdout]    |                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-23.0.0/src/traits.rs:1646:32
[INFO] [stdout]    |
[INFO] [stdout] 164|             $crate::scale_info::TypeInfo<Test>,
[INFO] [stdout]    |                                         ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:54:73
[INFO] [stdout]    |
[INFO] [stdout] 54 | type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<Test>;
[INFO] [stdout]    |                                                                         ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 54 | type UncheckedExtrinsic<Test> = frame_system::mocking::MockUncheckedExtrinsic<Test>;
[INFO] [stdout]    |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:55:47
[INFO] [stdout]    |
[INFO] [stdout] 55 | type Block = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |                                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 55 | type Block<Test> = frame_system::mocking::MockBlock<Test>;
[INFO] [stdout]    |           ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]   --> src/mock.rs:75:31
[INFO] [stdout]    |
[INFO] [stdout] 75 | impl frame_system::Config for Test {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeOrigin` in this scope
[INFO] [stdout]   --> src/mock.rs:80:23
[INFO] [stdout]    |
[INFO] [stdout] 80 |     type RuntimeOrigin = RuntimeOrigin;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]   --> src/mock.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 |     type RuntimeCall = RuntimeCall;
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeCall`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]   --> src/mock.rs:89:22
[INFO] [stdout]    |
[INFO] [stdout] 89 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]    |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PalletInfo` in this scope
[INFO] [stdout]   --> src/mock.rs:92:20
[INFO] [stdout]    |
[INFO] [stdout] 92 |     type PalletInfo = PalletInfo;
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use the associated type
[INFO] [stdout]    |
[INFO] [stdout] 92 |     type PalletInfo = Self::PalletInfo;
[INFO] [stdout]    |                       ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 18 + use frame_support::traits::PalletInfo;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:102:61
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl<C> frame_system::offchain::SendTransactionTypes<C> for Test
[INFO] [stdout]     |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/mock.rs:104:2
[INFO] [stdout]     |
[INFO] [stdout] 104 |     RuntimeCall: From<C>,
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/mock.rs:106:25
[INFO] [stdout]     |
[INFO] [stdout] 106 |     type OverarchingCall = RuntimeCall;
[INFO] [stdout]     |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeCall` in this scope
[INFO] [stdout]    --> src/mock.rs:107:26
[INFO] [stdout]     |
[INFO] [stdout] 107 |     type Extrinsic = TestXt<RuntimeCall, ()>;
[INFO] [stdout]     |                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 102 | impl<C, RuntimeCall> frame_system::offchain::SendTransactionTypes<C> for Test
[INFO] [stdout]     |       +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:117:31
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl pallet_beefy::Config for Test {
[INFO] [stdout]     |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:123:24
[INFO] [stdout]     |
[INFO] [stdout] 123 |     type KeyOwnerProof = <Historical as KeyOwnerProofSystem<(KeyTypeId, BeefyId)>>::Proof;
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Offences` in this scope
[INFO] [stdout]    --> src/mock.rs:125:41
[INFO] [stdout]     |
[INFO] [stdout] 125 |         super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
[INFO] [stdout]     |                                               ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl<Offences> pallet_beefy::Config for Test {
[INFO] [stdout]     |     ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Historical` in this scope
[INFO] [stdout]    --> src/mock.rs:125:51
[INFO] [stdout]     |
[INFO] [stdout] 125 |         super::EquivocationReportSystem<Self, Offences, Historical, ReportLongevity>;
[INFO] [stdout]     |                                                         ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 117 | impl<Historical> pallet_beefy::Config for Test {
[INFO] [stdout]     |     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:132:33
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl pallet_session::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:133:22
[INFO] [stdout]     |
[INFO] [stdout] 133 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:138:77
[INFO] [stdout]     |
[INFO] [stdout] 138 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, Staking>;
[INFO] [stdout]     |                                                                                ^^^^^^^
[INFO] [stdout]    --> /rustc/19b19c1ea5b23336f439d5f7be1cc1b3f1220bef/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 138 |     type SessionManager = pallet_session::historical::NoteHistoricalRoot<Self, String>;
[INFO] [stdout]     |                                                                                ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 132 | impl<Staking> pallet_session::Config for Test {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:144:45
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl pallet_session::historical::Config for Test {
[INFO] [stdout]     |                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:149:36
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl pallet_authorship::Config for Test {
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:154:34
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl pallet_balances::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:160:22
[INFO] [stdout]     |
[INFO] [stdout] 160 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `System` in this scope
[INFO] [stdout]    --> src/mock.rs:162:22
[INFO] [stdout]     |
[INFO] [stdout] 162 |     type AccountStore = System;
[INFO] [stdout]     |                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:170:35
[INFO] [stdout]     |
[INFO] [stdout] 170 | impl pallet_timestamp::Config for Test {
[INFO] [stdout]     |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:197:16
[INFO] [stdout]     |
[INFO] [stdout] 197 |     type System = Test;
[INFO] [stdout]     |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:199:22
[INFO] [stdout]     |
[INFO] [stdout] 199 |     type DataProvider = Staking;
[INFO] [stdout]     |                         ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/19b19c1ea5b23336f439d5f7be1cc1b3f1220bef/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:206:33
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Balances` in this scope
[INFO] [stdout]    --> src/mock.rs:211:18
[INFO] [stdout]     |
[INFO] [stdout] 211 |     type Currency = Balances;
[INFO] [stdout]     |                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:220:43
[INFO] [stdout]     |
[INFO] [stdout] 220 |     type UnixTime = pallet_timestamp::Pallet<Test>;
[INFO] [stdout]     |                                              ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<Test> pallet_staking::Config for Test {
[INFO] [stdout]     |     ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Session` in this scope
[INFO] [stdout]    --> src/mock.rs:224:24
[INFO] [stdout]     |
[INFO] [stdout] 224 |     type NextNewSession = Session;
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:236:34
[INFO] [stdout]     |
[INFO] [stdout] 236 | impl pallet_offences::Config for Test {
[INFO] [stdout]     |                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RuntimeEvent` in this scope
[INFO] [stdout]    --> src/mock.rs:237:22
[INFO] [stdout]     |
[INFO] [stdout] 237 |     type RuntimeEvent = RuntimeEvent;
[INFO] [stdout]     |                         ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Staking` in this scope
[INFO] [stdout]    --> src/mock.rs:239:26
[INFO] [stdout]     |
[INFO] [stdout] 239 |     type OnOffenceHandler = Staking;
[INFO] [stdout]     |                             ^^^^^^^ help: a struct with a similar name exists: `String`
[INFO] [stdout]    --> /rustc/19b19c1ea5b23336f439d5f7be1cc1b3f1220bef/library/alloc/src/string.rs:365:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:263:69
[INFO] [stdout]     |
[INFO] [stdout] 263 |     let mut t = frame_system::GenesisConfig::default().build_storage::<Test>().unwrap();
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:267:35
[INFO] [stdout]     |
[INFO] [stdout] 267 |     pallet_balances::GenesisConfig::<Test> { balances }
[INFO] [stdout]     |                                      ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:279:27
[INFO] [stdout]     |
[INFO] [stdout] 279 |             frame_system::Pallet::<Test>::inc_providers(id);
[INFO] [stdout]     |                                    ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:283:34
[INFO] [stdout]     |
[INFO] [stdout] 283 |     pallet_session::GenesisConfig::<Test> { keys: session_keys }
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/mock.rs:294:55
[INFO] [stdout]     |
[INFO] [stdout] 294 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 262 | pub fn new_test_ext_raw_authorities<Test>(authorities: Vec<BeefyId>) -> TestExternalities {
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:310:3
[INFO] [stdout]     |
[INFO] [stdout] 310 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:310:23
[INFO] [stdout]     |
[INFO] [stdout] 310 |         System::on_finalize(System::block_number());
[INFO] [stdout]     |                             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:311:24
[INFO] [stdout]     |
[INFO] [stdout] 311 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:312:24
[INFO] [stdout]     |
[INFO] [stdout] 312 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:313:22
[INFO] [stdout]     |
[INFO] [stdout] 313 |         Beefy::on_finalize(System::block_number());
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:315:24
[INFO] [stdout]     |
[INFO] [stdout] 315 |         let parent_hash = if System::block_number() > 1 {
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:316:14
[INFO] [stdout]     |
[INFO] [stdout] 316 |             let hdr = System::finalize();
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:319:4
[INFO] [stdout]     |
[INFO] [stdout] 319 |             System::parent_hash()
[INFO] [stdout]     |             ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:322:3
[INFO] [stdout]     |
[INFO] [stdout] 322 |         System::reset_events();
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:323:3
[INFO] [stdout]     |
[INFO] [stdout] 323 |         System::initialize(&(i as u64 + 1), &parent_hash, &Default::default());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:324:3
[INFO] [stdout]     |
[INFO] [stdout] 324 |         System::set_block_number((i + 1).into());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Timestamp`
[INFO] [stdout]    --> src/mock.rs:325:3
[INFO] [stdout]     |
[INFO] [stdout] 325 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |         ^^^^^^^^^ use of undeclared type `Timestamp`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_core::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_runtime::offchain::Timestamp;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:325:28
[INFO] [stdout]     |
[INFO] [stdout] 325 |         Timestamp::set_timestamp(System::block_number() * 6000);
[INFO] [stdout]     |                                  ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:327:3
[INFO] [stdout]     |
[INFO] [stdout] 327 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:327:25
[INFO] [stdout]     |
[INFO] [stdout] 327 |         System::on_initialize(System::block_number());
[INFO] [stdout]     |                               ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:328:26
[INFO] [stdout]     |
[INFO] [stdout] 328 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:329:26
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/mock.rs:330:24
[INFO] [stdout]     |
[INFO] [stdout] 330 |         Beefy::on_initialize(System::block_number());
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:37:2
[INFO] [stdout]    |
[INFO] [stdout] 37 |     System::set_block_number(block);
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use codec::alloc::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let log = System::digest().logs[0].clone();
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use codec::alloc::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]   --> src/tests.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |         let log = System::digest().logs[1].clone();
[INFO] [stdout]    |                   ^^^^^^ use of undeclared type `System`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 18 + use codec::alloc::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use sp_std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::alloc::System;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:268:19
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:346:19
[INFO] [stdout]     |
[INFO] [stdout] 346 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:430:19
[INFO] [stdout]     |
[INFO] [stdout] 430 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:457:12
[INFO] [stdout]     |
[INFO] [stdout] 457 |             Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 424 | fn report_equivocation_invalid_set_id<Test>() {
[INFO] [stdout]     |                                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:469:19
[INFO] [stdout]     |
[INFO] [stdout] 469 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:501:12
[INFO] [stdout]     |
[INFO] [stdout] 501 |             Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 463 | fn report_equivocation_invalid_session<Test>() {
[INFO] [stdout]     |                                       ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:513:19
[INFO] [stdout]     |
[INFO] [stdout] 513 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:549:12
[INFO] [stdout]     |
[INFO] [stdout] 549 |             Error::<Test>::InvalidKeyOwnershipProof,
[INFO] [stdout]     |                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 507 | fn report_equivocation_invalid_key_owner_proof<Test>() {
[INFO] [stdout]     |                                               ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:561:19
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:581:13
[INFO] [stdout]     |
[INFO] [stdout] 581 |                 Error::<Test>::InvalidEquivocationProof,
[INFO] [stdout]     |                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 555 | fn report_equivocation_invalid_equivocation_proof<Test>() {
[INFO] [stdout]     |                                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:635:19
[INFO] [stdout]     |
[INFO] [stdout] 635 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:662:5
[INFO] [stdout]     |
[INFO] [stdout] 662 |             <Beefy as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:673:5
[INFO] [stdout]     |
[INFO] [stdout] 673 |             <Beefy as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:687:15
[INFO] [stdout]     |
[INFO] [stdout] 687 |         assert_ok!(<Beefy as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call));
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:700:5
[INFO] [stdout]     |
[INFO] [stdout] 700 |             <Beefy as sp_runtime::traits::ValidateUnsigned>::validate_unsigned(
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Beefy` in this scope
[INFO] [stdout]    --> src/tests.rs:708:5
[INFO] [stdout]     |
[INFO] [stdout] 708 |             <Beefy as sp_runtime::traits::ValidateUnsigned>::pre_dispatch(&call),
[INFO] [stdout]     |              ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:719:9
[INFO] [stdout]     |
[INFO] [stdout] 719 |         .map(<Test as Config>::WeightInfo::report_equivocation)
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:727:9
[INFO] [stdout]     |
[INFO] [stdout] 727 |         .map(<Test as Config>::WeightInfo::report_equivocation)
[INFO] [stdout]     |               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `System`
[INFO] [stdout]    --> src/tests.rs:740:19
[INFO] [stdout]     |
[INFO] [stdout] 740 |         let block_num = System::block_number();
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `System`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 18  + use codec::alloc::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use sp_std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 18  + use std::alloc::System;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Test` in this scope
[INFO] [stdout]    --> src/tests.rs:762:21
[INFO] [stdout]     |
[INFO] [stdout] 762 |         let info = Call::<Test>::report_equivocation_unsigned {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 734 | fn valid_equivocation_reports_dont_pay_fees<Test>() {
[INFO] [stdout]     |                                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OnFinalize`, `OnInitialize`
[INFO] [stdout]   --> src/mock.rs:25:68
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ConstU16, ConstU32, ConstU64, GenesisBuild, KeyOwnerProofSystem, OnFinalize, OnInitialize,
[INFO] [stdout]    |                                                                          ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Currency`, `KeyOwnerProofSystem`, `OnInitialize`
[INFO] [stdout]   --> src/tests.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |     traits::{Currency, KeyOwnerProofSystem, OnInitialize},
[INFO] [stdout]    |              ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:135:23
[INFO] [stdout]     |
[INFO] [stdout] 135 |     type ValidatorIdOf = pallet_staking::StashOf<Self>;
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:145:28
[INFO] [stdout]     |
[INFO] [stdout] 145 |     type FullIdentification = pallet_staking::Exposure<u64, u128>;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:146:30
[INFO] [stdout]     |
[INFO] [stdout] 146 |     type FullIdentificationOf = pallet_staking::ExposureOf<Self>;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:206:6
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl pallet_staking::Config for Test {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:221:19
[INFO] [stdout]     |
[INFO] [stdout] 221 |     type EraPayout = pallet_staking::ConvertCurve<RewardCurve>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:227:19
[INFO] [stdout]     |
[INFO] [stdout] 227 |     type VoterList = pallet_staking::UseNominatorsAndValidatorsMap<Self>;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:228:20
[INFO] [stdout]     |
[INFO] [stdout] 228 |     type TargetList = pallet_staking::UseValidatorsMap<Self>;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:232:28
[INFO] [stdout]     |
[INFO] [stdout] 232 |     type BenchmarkingConfig = pallet_staking::TestBenchmarkingConfig;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/mock.rs:294:23
[INFO] [stdout]     |
[INFO] [stdout] 294 |     let staking_config = pallet_staking::GenesisConfig::<Test> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:309:11
[INFO] [stdout]     |
[INFO] [stdout] 309 |     for i in Session::current_index()..session_index {
[INFO] [stdout]     |              ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:311:3
[INFO] [stdout]     |
[INFO] [stdout] 311 |         Session::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:312:3
[INFO] [stdout]     |
[INFO] [stdout] 312 |         Staking::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/mock.rs:313:3
[INFO] [stdout]     |
[INFO] [stdout] 313 |         Beefy::on_finalize(System::block_number());
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:328:3
[INFO] [stdout]     |
[INFO] [stdout] 328 |         Session::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:329:3
[INFO] [stdout]     |
[INFO] [stdout] 329 |         Staking::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         use of undeclared type `Staking`
[INFO] [stdout]     |         help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/mock.rs:330:3
[INFO] [stdout]     |
[INFO] [stdout] 330 |         Beefy::on_initialize(System::block_number());
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/mock.rs:333:13
[INFO] [stdout]     |
[INFO] [stdout] 333 |     assert_eq!(Session::current_index(), session_index);
[INFO] [stdout]     |                ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/mock.rs:338:13
[INFO] [stdout]     |
[INFO] [stdout] 338 |     assert_eq!(Staking::current_era(), Some(era_index));
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout]     |                |
[INFO] [stdout]     |                use of undeclared type `Staking`
[INFO] [stdout]     |                help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]   --> src/tests.rs:38:2
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Session::on_initialize(block);
[INFO] [stdout]    |     ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let authorities = Beefy::authorities();
[INFO] [stdout]    |                           ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:57:11
[INFO] [stdout]    |
[INFO] [stdout] 57 |         assert!(Beefy::validator_set_id() == 0);
[INFO] [stdout]    |                 ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:59:26
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let next_authorities = Beefy::next_authorities();
[INFO] [stdout]    |                                ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |         assert!(0 == Beefy::validator_set_id());
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 |         assert!(1 == Beefy::validator_set_id());
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]   --> src/tests.rs:88:16
[INFO] [stdout]    |
[INFO] [stdout] 88 |         assert!(2 == Beefy::validator_set_id());
[INFO] [stdout]    |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:104:26
[INFO] [stdout]     |
[INFO] [stdout] 104 |         let next_authorities = Beefy::next_authorities();
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:114:26
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let next_authorities = Beefy::next_authorities();
[INFO] [stdout]     |                                ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 127 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:140:12
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let vs = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                  ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 180 |             assert!(Beefy::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |             assert!(Beefy::session_for_set(i as u64).is_some());
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout] 193 |             assert!(Beefy::session_for_set(i as u64).is_none());
[INFO] [stdout]     |                     ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:263:14
[INFO] [stdout]     |
[INFO] [stdout] 263 |         assert_eq!(Staking::current_era(), Some(0));
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:264:14
[INFO] [stdout]     |
[INFO] [stdout] 264 |         assert_eq!(Session::current_index(), 0);
[INFO] [stdout]     |                    ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:269:23
[INFO] [stdout]     |
[INFO] [stdout] 269 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:272:20
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:276:15
[INFO] [stdout]     |
[INFO] [stdout] 276 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:277:15
[INFO] [stdout]     |
[INFO] [stdout] 277 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:280:5
[INFO] [stdout]     |
[INFO] [stdout] 280 |                 Staking::eras_stakers(1, validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 281 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:301:4
[INFO] [stdout]     |
[INFO] [stdout] 301 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:304:14
[INFO] [stdout]     |
[INFO] [stdout] 304 |         assert_ok!(Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:305:4
[INFO] [stdout]     |
[INFO] [stdout] 305 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:315:14
[INFO] [stdout]     |
[INFO] [stdout] 315 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:316:14
[INFO] [stdout]     |
[INFO] [stdout] 316 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:318:4
[INFO] [stdout]     |
[INFO] [stdout] 318 |             Staking::eras_stakers(2, equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:319:4
[INFO] [stdout]     |
[INFO] [stdout] 319 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:329:15
[INFO] [stdout]     |
[INFO] [stdout] 329 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:332:5
[INFO] [stdout]     |
[INFO] [stdout] 332 |                 Staking::eras_stakers(2, validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:333:5
[INFO] [stdout]     |
[INFO] [stdout] 333 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:347:23
[INFO] [stdout]     |
[INFO] [stdout] 347 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Session`
[INFO] [stdout]    --> src/tests.rs:349:20
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let validators = Session::validators();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `Session`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:358:4
[INFO] [stdout]     |
[INFO] [stdout] 358 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:364:15
[INFO] [stdout]     |
[INFO] [stdout] 364 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:365:15
[INFO] [stdout]     |
[INFO] [stdout] 365 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:368:5
[INFO] [stdout]     |
[INFO] [stdout] 368 |                 Staking::eras_stakers(2, validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:369:5
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:373:23
[INFO] [stdout]     |
[INFO] [stdout] 373 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:388:14
[INFO] [stdout]     |
[INFO] [stdout] 388 |         assert_ok!(Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                    ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:389:4
[INFO] [stdout]     |
[INFO] [stdout] 389 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:399:14
[INFO] [stdout]     |
[INFO] [stdout] 399 |         assert_eq!(Balances::total_balance(&equivocation_validator_id), 10_000_000 - 10_000);
[INFO] [stdout]     |                    ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:400:14
[INFO] [stdout]     |
[INFO] [stdout] 400 |         assert_eq!(Staking::slashable_balance_of(&equivocation_validator_id), 0);
[INFO] [stdout]     |                    ^^^^^^^
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    use of undeclared type `Staking`
[INFO] [stdout]     |                    help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:402:4
[INFO] [stdout]     |
[INFO] [stdout] 402 |             Staking::eras_stakers(3, equivocation_validator_id),
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             use of undeclared type `Staking`
[INFO] [stdout]     |             help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:403:4
[INFO] [stdout]     |
[INFO] [stdout] 403 |             pallet_staking::Exposure { total: 0, own: 0, others: vec![] },
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Balances`
[INFO] [stdout]    --> src/tests.rs:412:15
[INFO] [stdout]     |
[INFO] [stdout] 412 |             assert_eq!(Balances::total_balance(validator), 10_000_000);
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Balances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:413:15
[INFO] [stdout]     |
[INFO] [stdout] 413 |             assert_eq!(Staking::slashable_balance_of(validator), 10_000);
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        use of undeclared type `Staking`
[INFO] [stdout]     |                        help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Staking`
[INFO] [stdout]    --> src/tests.rs:416:5
[INFO] [stdout]     |
[INFO] [stdout] 416 |                 Staking::eras_stakers(3, validator),
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 use of undeclared type `Staking`
[INFO] [stdout]     |                 help: a struct with a similar name exists: `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pallet_staking`
[INFO] [stdout]    --> src/tests.rs:417:5
[INFO] [stdout]     |
[INFO] [stdout] 417 |                 pallet_staking::Exposure { total: 10_000, own: 10_000, others: vec![] },
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ use of undeclared crate or module `pallet_staking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:431:23
[INFO] [stdout]     |
[INFO] [stdout] 431 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:440:4
[INFO] [stdout]     |
[INFO] [stdout] 440 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:452:4
[INFO] [stdout]     |
[INFO] [stdout] 452 |             Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:453:5
[INFO] [stdout]     |
[INFO] [stdout] 453 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:470:23
[INFO] [stdout]     |
[INFO] [stdout] 470 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:479:4
[INFO] [stdout]     |
[INFO] [stdout] 479 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:483:16
[INFO] [stdout]     |
[INFO] [stdout] 483 |         let set_id = Beefy::validator_set().unwrap().id();
[INFO] [stdout]     |                      ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:496:4
[INFO] [stdout]     |
[INFO] [stdout] 496 |             Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:497:5
[INFO] [stdout]     |
[INFO] [stdout] 497 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:514:23
[INFO] [stdout]     |
[INFO] [stdout] 514 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:523:4
[INFO] [stdout]     |
[INFO] [stdout] 523 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &invalid_owner_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:544:4
[INFO] [stdout]     |
[INFO] [stdout] 544 |             Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:545:5
[INFO] [stdout]     |
[INFO] [stdout] 545 |                 RuntimeOrigin::none(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:562:23
[INFO] [stdout]     |
[INFO] [stdout] 562 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:572:4
[INFO] [stdout]     |
[INFO] [stdout] 572 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:576:5
[INFO] [stdout]     |
[INFO] [stdout] 576 |                 Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                 ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:577:6
[INFO] [stdout]     |
[INFO] [stdout] 577 |                     RuntimeOrigin::none(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:636:23
[INFO] [stdout]     |
[INFO] [stdout] 636 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:653:4
[INFO] [stdout]     |
[INFO] [stdout] 653 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:690:3
[INFO] [stdout]     |
[INFO] [stdout] 690 |         Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:691:4
[INFO] [stdout]     |
[INFO] [stdout] 691 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:741:23
[INFO] [stdout]     |
[INFO] [stdout] 741 |         let validator_set = Beefy::validator_set().unwrap();
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Historical`
[INFO] [stdout]    --> src/tests.rs:759:4
[INFO] [stdout]     |
[INFO] [stdout] 759 |             Historical::prove((sp_consensus_beefy::KEY_TYPE, &equivocation_key)).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `Historical`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:773:19
[INFO] [stdout]     |
[INFO] [stdout] 773 |         let post_info = Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:774:4
[INFO] [stdout]     |
[INFO] [stdout] 774 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Beefy`
[INFO] [stdout]    --> src/tests.rs:787:19
[INFO] [stdout]     |
[INFO] [stdout] 787 |         let post_info = Beefy::report_equivocation_unsigned(
[INFO] [stdout]     |                         ^^^^^ use of undeclared type `Beefy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RuntimeOrigin`
[INFO] [stdout]    --> src/tests.rs:788:4
[INFO] [stdout]     |
[INFO] [stdout] 788 |             RuntimeOrigin::none(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^ use of undeclared type `RuntimeOrigin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 189 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pallet-beefy` (lib test) due to 190 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "660f39e4bc74beba034160a722cd1e4a559c7c45a961252eaffa621df8f230b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "660f39e4bc74beba034160a722cd1e4a559c7c45a961252eaffa621df8f230b3", kill_on_drop: false }`
[INFO] [stdout] 660f39e4bc74beba034160a722cd1e4a559c7c45a961252eaffa621df8f230b3
